<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
    />
    <link rel="icon" href="/favicon.ico" />
  </head>

  <body>
    <div id="app">
      <div id="loading">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <p>系统加载中</p>
      </div>
    </div>
    <script type="module" src="/src/main.js"></script>
  </body>

  <style lang="scss" scoped>
    #loading {
      text-align: center;
      width: 200px;
      height: 50%;
      margin: 20% auto;
    }
    #loading span {
      height: 80px;
      width: 15px;
      background: #7e81ff;
      display: inline-block;
      animation: loader 1s infinite;
    }
    #loading p {
      color: #7e81ff;
      font-size: 20px;
      font-family: Helvetica;
      text-transform: uppercase;
      margin-top: 5px;
      font-weight: 300;
      letter-spacing: 0.05em;
      text-align: center;
    }
    @keyframes loader {
      50% {
        height: 30px;
        margin-top: 50px;
        opacity: 0.5;
      }
    }
    #loading span:nth-child(1) {
      animation-delay: 0.1s;
    }
    #loading span:nth-child(2) {
      animation-delay: 0.2s;
    }
    #loading span:nth-child(3) {
      animation-delay: 0.3s;
    }
    #loading span:nth-child(4) {
      animation-delay: 0.4s;
    }
    #loading span:nth-child(5) {
      animation-delay: 0.5s;
    }
    #loading span:nth-child(6) {
      animation-delay: 0.6s;
    }
  </style>
</html>
